<?php

namespace Entities;

use Doctrine\ORM\Mapping as ORM;

/**
 * Entities\Paper
 */
class Paper
{
    /**
     * @var integer $file_id
     */
    private $file_id;

    /**
     * @var string $file_md5
     */
    private $file_md5;

    /**
     * @var string $file_name
     */
    private $file_name;

    /**
     * @var integer $school_id
     */
    private $school_id;

    /**
     * @var integer $profession_id
     */
    private $profession_id;

    /**
     * @var integer $level_id
     */
    private $level_id;

    /**
     * @var integer $words
     */
    private $words;

    /**
     * @var string $teacher
     */
    private $teacher;

    /**
     * @var string $use_school
     */
    private $use_school;

    /**
     * @var string $lock_state
     */
    private $lock_state;

    /**
     * @var datetime $lock_time
     */
    private $lock_time;

    /**
     * @var integer $count
     */
    private $count;

    /**
     * @var string $upload_user
     */
    private $upload_user;

    /**
     * @var string $download_user
     */
    private $download_user;

    /**
     * @var string $file_path
     */
    private $file_path;

    /**
     * @var datetime $upload_time
     */
    private $upload_time;

    /**
     * @var datetime $insert_time
     */
    private $insert_time;


    /**
     * Get file_id
     *
     * @return integer 
     */
    public function getFileId()
    {
        return $this->file_id;
    }

    /**
     * Set file_md5
     *
     * @param string $fileMd5
     * @return Paper
     */
    public function setFileMd5($fileMd5)
    {
        $this->file_md5 = $fileMd5;
        return $this;
    }

    /**
     * Get file_md5
     *
     * @return string 
     */
    public function getFileMd5()
    {
        return $this->file_md5;
    }

    /**
     * Set file_name
     *
     * @param string $fileName
     * @return Paper
     */
    public function setFileName($fileName)
    {
        $this->file_name = $fileName;
        return $this;
    }

    /**
     * Get file_name
     *
     * @return string 
     */
    public function getFileName()
    {
        return $this->file_name;
    }

    /**
     * Set school_id
     *
     * @param integer $schoolId
     * @return Paper
     */
    public function setSchoolId($schoolId)
    {
        $this->school_id = $schoolId;
        return $this;
    }

    /**
     * Get school_id
     *
     * @return integer 
     */
    public function getSchoolId()
    {
        return $this->school_id;
    }

    /**
     * Set profession_id
     *
     * @param integer $professionId
     * @return Paper
     */
    public function setProfessionId($professionId)
    {
        $this->profession_id = $professionId;
        return $this;
    }

    /**
     * Get profession_id
     *
     * @return integer 
     */
    public function getProfessionId()
    {
        return $this->profession_id;
    }

    /**
     * Set level_id
     *
     * @param integer $levelId
     * @return Paper
     */
    public function setLevelId($levelId)
    {
        $this->level_id = $levelId;
        return $this;
    }

    /**
     * Get level_id
     *
     * @return integer 
     */
    public function getLevelId()
    {
        return $this->level_id;
    }

    /**
     * Set words
     *
     * @param integer $words
     * @return Paper
     */
    public function setWords($words)
    {
        $this->words = $words;
        return $this;
    }

    /**
     * Get words
     *
     * @return integer 
     */
    public function getWords()
    {
        return $this->words;
    }

    /**
     * Set teacher
     *
     * @param string $teacher
     * @return Paper
     */
    public function setTeacher($teacher)
    {
        $this->teacher = $teacher;
        return $this;
    }

    /**
     * Get teacher
     *
     * @return string 
     */
    public function getTeacher()
    {
        return $this->teacher;
    }

    /**
     * Set use_school
     *
     * @param string $useSchool
     * @return Paper
     */
    public function setUseSchool($useSchool)
    {
        $this->use_school = $useSchool;
        return $this;
    }

    /**
     * Get use_school
     *
     * @return string 
     */
    public function getUseSchool()
    {
        return $this->use_school;
    }

    /**
     * Set lock_state
     *
     * @param string $lockState
     * @return Paper
     */
    public function setLockState($lockState)
    {
        $this->lock_state = $lockState;
        return $this;
    }

    /**
     * Get lock_state
     *
     * @return string 
     */
    public function getLockState()
    {
        return $this->lock_state;
    }

    /**
     * Set lock_time
     *
     * @param datetime $lockTime
     * @return Paper
     */
    public function setLockTime($lockTime)
    {
        $this->lock_time = $lockTime;
        return $this;
    }

    /**
     * Get lock_time
     *
     * @return datetime 
     */
    public function getLockTime()
    {
        return $this->lock_time;
    }

    /**
     * Set count
     *
     * @param integer $count
     * @return Paper
     */
    public function setCount($count)
    {
        $this->count = $count;
        return $this;
    }

    /**
     * Get count
     *
     * @return integer 
     */
    public function getCount()
    {
        return $this->count;
    }

    /**
     * Set upload_user
     *
     * @param string $uploadUser
     * @return Paper
     */
    public function setUploadUser($uploadUser)
    {
        $this->upload_user = $uploadUser;
        return $this;
    }

    /**
     * Get upload_user
     *
     * @return string 
     */
    public function getUploadUser()
    {
        return $this->upload_user;
    }

    /**
     * Set download_user
     *
     * @param string $downloadUser
     * @return Paper
     */
    public function setDownloadUser($downloadUser)
    {
        $this->download_user = $downloadUser;
        return $this;
    }

    /**
     * Get download_user
     *
     * @return string 
     */
    public function getDownloadUser()
    {
        return $this->download_user;
    }

    /**
     * Set file_path
     *
     * @param string $filePath
     * @return Paper
     */
    public function setFilePath($filePath)
    {
        $this->file_path = $filePath;
        return $this;
    }

    /**
     * Get file_path
     *
     * @return string 
     */
    public function getFilePath()
    {
        return $this->file_path;
    }

    /**
     * Set upload_time
     *
     * @param datetime $uploadTime
     * @return Paper
     */
    public function setUploadTime($uploadTime)
    {
        $this->upload_time = $uploadTime;
        return $this;
    }

    /**
     * Get upload_time
     *
     * @return datetime 
     */
    public function getUploadTime()
    {
        return $this->upload_time;
    }

    /**
     * Set insert_time
     *
     * @param datetime $insertTime
     * @return Paper
     */
    public function setInsertTime($insertTime)
    {
        $this->insert_time = $insertTime;
        return $this;
    }

    /**
     * Get insert_time
     *
     * @return datetime 
     */
    public function getInsertTime()
    {
        return $this->insert_time;
    }
}